package ptij.verifier.test.grammar;

import ptolemy.actor.*;
import ptolemy.kernel.*;
import ptolemy.kernel.util.*;

// Teste de for nested
public class For2 extends AtomicActor {

   public For2(CompositeEntity container, String name) throws
           NameDuplicationException, IllegalActionException {
       super(container, name);
   }

   public void fire() throws IllegalActionException {
   
       for(int i = 0;i < 10;i++) {
       }

       int b = 3;
       int a = 4;
       for(int j = 0;j < b;j++) {
           int c = 3;
           for(int i = 0;i < 10;i++) {
	       a = b * j + i;
	   }
       }

       System.out.println(a);

       for(int i = 0;i < 10;i++) {
       }
   }

}
